﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    public class ROLE_INFO:IEntity
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [DisplayName("权限ID"), Required, Key]
        public int ROLE_ID { get; set; }

        /// <summary>
        /// 权限隶属的团队空间
        /// </summary>
        [DisplayName("权限隶属的团队空间"), Required]
        public Guid TEAMSPACE_ID { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        [DisplayName("权限名称"), Required]
        public string ROLE_NAME { get; set; }

        /// <summary>
        /// 权限描述
        /// </summary>
        [DisplayName("文件ID"), Required]
        public string DESCRIPTION { get; set; }

        /// <summary>
        /// 权限状态
        /// </summary>
        [DisplayName("权限状态"), Required]
        public int STATUE { get; set; }
    }
}
